package com.wn.base;

/**
 * @FileName: User2
 * @Description: TODO
 * @Author: MaWenHao
 * @Created: 2020/12/7 - 21:27
 * @Version: V1.0
 * @Company: 东方微银科技（北京）有限公司
 */
public class User2 extends User1 {

    User2(String name) {
        super(name);
    }

    @Override
    public void work() {
        System.out.println("user2.work");
        super.work();
    }
}
